﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MyWebApp.Models
{
    public class UserModels
    {
        public string UserId { get; set; }
        public string Password { get; set; }
        public string UserName { get; set; }
        public string UserImg { get; set; }
        public string UserDept { get; set; }
        public string Remarks { get; set; }
        public List<string> Roles { get; set; }
    }

    public class LoginUserModel : UserModels
    {
        /// <summary>
        /// 记住我
        /// </summary>
        public bool RememberMe { get; set; }
        /// <summary>
        /// 锁屏状态
        /// </summary>
        public bool LockSession { get; set; }
        /// <summary>
        /// 返回地址
        /// </summary>
        public string ReturnUrl { get; set; }
    }
}